package com.x.common.core.annotation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 回滚标记注解
 *
 * @author 蔡朋宏
 * @since 2020/05/01 12:24
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Fallback {

  @AliasFor(annotation = Component.class)
  String value() default "";

}